package com.model;

public class Person {

    private String name="张";


    /**
     * 性别
     */
    private String sex="";

    /**
     * 年龄
     */
    private String age="";


    /**
     * 体重
     */
    private String  weight="";

    public String getSex() {
        return sex;
    }


    public void setSex(String sex) {
        this.sex = sex;
    }


    public String getAge() {
        return age;
    }


    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name;
    }


    public void setAge(String age) {
        this.age = age;
    }


    public String getWeight() {
        return weight;
    }


    public void setWeight(String weight) {
        this.weight = weight;
    }

    public void outprint() {
        System.out.print("{");
        System.out.print(name+",");
        System.out.print(sex+",");
        System.out.print(age+",");
        System.out.print(weight+",");
        System.out.println("}");

    }


    @Override
    public String toString() {
        return "Person [name=" + name + ", sex=" + sex + ", age=" + age + ", weight=" + weight + "]";
    }

}
